package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * @author ：yjzhang
 * @date ：Created in 2022/5/31 0031 14:48
 * @description：活动订单类型
 * @version: 1.0
 */

@Getter
public enum ActivityOrderStateEnum {
    CREATE(0, "创单"),
    PAY_SUCCESS(1,"支付成功待使用"),
    COMPLETE(2,"完成订单"),
    REFUND(3,"退单"),
    GROUPON(4,"拼团中"),
    GROUPON_FAIL(5,"拼团失败"),
    ;

    private final Integer code;
    private final String desc;

    ActivityOrderStateEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
